Links

In this section I'll cover the following links:

•to other sites on the WWW
•email 
•to text on the same page
•to your other web pages on your server

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Links to other sites on the WWW

You might want to link your web page with another web page at a different site. The HTML code you use is the anchor tag:

<A> </A>

To make this a live link you need to specify a hypertext reference attribute. This attribute needs to be set to a value. So a live link will look like this:

<A HREF="value"> </A>

Value could be the *URL of another site or the file name of another page on your server.

Note: The quote marks surrounding the value have to be straight.

The text between the anchor tags will be a different color and underlined. This tells the reader that this is an active link and clicking on it will cause a specific action depending on the link.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Links to email

This link will involve the anchor tags with a twist:

<A HREF="mailto:email address"> </A> 

email address is the address you would like the mail to be sent to.The text between the anchor tags will be a different color and underlined.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Links to text on the same page

This link will involve the anchor tags again but it is a little more in depth and slightly different.

Say that you have a long document with a lot of information. You can divide this information up into sections. You want to give someone who looks at your page the option of going directly to a section instead of scrolling until their fingers go numb.

The anchor point

The section you would like to go to is the anchor point.To specify an anchor point you would use the following HTML code at that point in the document:

<A NAME="some name">

"Some name" is the text you would like the reader to jump to.

This would not highlight, underline or change the color of the text that serves as the anchor point. It would serve to identify itself as the anchor point for the jump link.

The jump link

The jump link would be at the beginning of the document and uses this code:

<A HREF="#some name"> </A>

"#Some name" would be the same as the anchor point but with the pound sign before it.

The text between the two anchor tags would be underlined and a different color to show it was active.It would give the reader some idea of where that link would take them.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Links to your other web pages on your server

Again you would use the anchor tags:

<A HREF="name.html"> </A>

The value between the quotes is just the name of the file you wish to go to on the server.The text between the two anchor tags would be underlined and a different color to show it is active.

                   ++++++++++++++++++++++

Note: After you click on a link when viewing with your browser, it will usually have changed color when you visit that page again. This identifies that you have visited that link before.

Summary

Links show as underlined text in a different color when viewed with a browser. When you click on these links, the action that may occur ranges from moving to another web site, moving to another document you have created, moving within the same document or sending email. 

Let's go to the drills.There will be four drills for links.

* URL- uniform resource locator aka the WWW address for a site.